package io.qar.addressBook.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

/**
 * 用户地址簿
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-11
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class addressBookExcel {
    @ExcelProperty(value = "用户ID", index = 0)
    private Long userId;
    @ExcelProperty(value = "收件人姓名", index = 1)
    private String consignee;
    @ExcelProperty(value = "性别", index = 2)
    private Object sex;
    @ExcelProperty(value = "联系电话", index = 3)
    private String phone;
    @ExcelProperty(value = "省份编码", index = 4)
    private String provinceCode;
    @ExcelProperty(value = "省份名称", index = 5)
    private String provinceName;
    @ExcelProperty(value = "城市编码", index = 6)
    private String cityCode;
    @ExcelProperty(value = "城市名称", index = 7)
    private String cityName;
    @ExcelProperty(value = "区县编码", index = 8)
    private String districtCode;
    @ExcelProperty(value = "区县名称", index = 9)
    private String districtName;
    @ExcelProperty(value = "详细地址", index = 10)
    private String detail;
    @ExcelProperty(value = "逻辑删除：1-已删除，0-未删除", index = 11)
    private Boolean deleted;
}